package pers.corvey.studyjava.dao;

import org.springframework.data.repository.CrudRepository;

import pers.corvey.studyjava.model.Chapter;

public interface ChapterDAO extends CrudRepository<Chapter, String> {

    Iterable<Chapter> findByCourseId(String courseId);
    
}
